import Vue from 'vue'
import VueRouter from 'vue-router'
import BadRoute from "@/view/BadRoute";

Vue.use(VueRouter);

// routes
let routes = [
    {path: '/', name: 'base',},
    {path: '*', name: 'not-found', component: BadRoute}
];

export default new VueRouter({mode: 'history', routes})